/**
 * Created by ss on 16/4/13.
 */
var $ = require("jquery");
var bottomButton = require("../../../tpl/bottomButton.tpl");
var tplUtil = require("../../util/templateUtil.js");
module.exports = {
    tpl: bottomButton,
    data: [],
    init: function (jDom, onWhich) {
        jDom.html(this.render({
            onWhich: onWhich
        }));
    },
    render: function (item){
        return tplUtil.template(this.tpl, item);
    }
};